package com.zhd.springboot.starter.car;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author zhanghaidong
 * @version v1.0
 * @description
 * @date 2019/6/24
 */
@ConfigurationProperties(prefix = "car")
@Data
public class CarProperties {

    /**
     * 价格
     */
    private int price;
    /**
     * 重量
     */
    private int weight;
}
